/*!
 * \file UapStateConnected.h
 * \brief State where signaling connection is established
 */

#ifndef SGW_UAP_STATE_CONNECTED_H
#define SGW_UAP_STATE_CONNECTED_H

#include "UapStateBase.h"

namespace tsc
{
namespace sgw
{

/**
 * Signaling connection with User Client was established.
 * There is no data transmission yet.
 */
class UapStateConnected : public UapStateBase
{
public:

	static UapStateConnected* instance();

    virtual void handleEventUapConnectionReleaseReq(
            UapGenerator* uapGen,
            UapEventConnectionReleaseReq* event,
            EventData*& eventData);

    virtual void handleEventUapMediaBearerSetupReq(
            UapGenerator* uapGen,
            UapEventMediaBearerSetupReq* event,
            EventData*& eventData);

private:

	UapStateConnected();

	virtual ~UapStateConnected();

};

} // namespace sgw
} // namespace tsc

#endif // SGW_UAP_STATE_CONNECTED_H
